Learn how components work in Svelte and how to use module context. 👉️ Support ▶️ YouTube Membership https://youtube.com/@joyofcodedev/join 🔴 Patreon https://www.patreon.com/joyofcode 👉️ Links: Module Context 🔗 https://svelte.dev/tutorial/sharing-code 🔗 https://svelte.dev/tutorial/module-exports 👉️ Uses: 🔗 https://joyofcode.xyz/uses 👉️ Socials: 🐦️ https://twitter.com/joyofcodedev 💬 https://discord.gg/k6ZpwAKwwZ 🔖 Timestamps 0:00 Intro 0:24 The Switch Problem 0:57 The Solution 1:07 How Components Work In Svelte 2:33 Using Module Context 4:13 Making The Value Reactive 5:16 What Is Model Context Used For? 6:44 Outro #svelte #sveltekit #joyofcode